package o;

import android.content.Context;
import android.content.res.Resources;
import android.view.View;
import java.util.ArrayList;
import java.util.List;

public class a extends SkinAttr {
    private List<SkinAttr> ʼ = new ArrayList();
    private fpf ॱॱ;

    public void ˎ(View view, boolean z) {
        ˊ(view.getContext(), view);
        if (!fmr.ˋ(this.ʼ)) {
            for (SkinAttr ˎ : this.ʼ) {
                ˎ.ˎ(view, z);
            }
        }
    }

    private void ˊ(Context context, View view) {
        Resources resources;
        int identifier;
        flr ˋ = flr.ˋ(context);
        if (ˋ.ˋ()) {
            context = ˋ.ˊ().ʼ();
            resources = context.getResources();
            identifier = resources.getIdentifier(this.ˋ, this.attrValueTypeName, ˋ.ˊ().ˊ());
        } else {
            identifier = this.attrValueRefId;
            resources = context.getResources();
        }
        if (this.ॱॱ == null) {
            this.ॱॱ = new fpf(view, this.attrValueRefName);
        }
        this.ॱॱ.ॱ(context, resources, identifier, this.ʼ);
    }
}
